import { connect } from 'react-redux';
import Counter from "../components/Counter";

function mapStateToProps({count}) {
  return (
    {
      count: count.count,
      lastCount: count.lastCount,
      asyncData: count.asyncData,
    }
  )
}

const CountApp = connect(mapStateToProps)(Counter);
export default CountApp;
